home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / MacHaskell 2.2 / com / cmu / build-prelude next >
Encoding:
Text File  |  1994-09-27  |  1.1 KB  |  19 lines  |  [TEXT/ttxt]

  1. #!/bin/csh
  2. #
  3. # build-prelude -- recompile the prelude, saving the old one as old-prelude.*
  4. #
  5. #
  6. cd $Y2
  7. setenv PRELUDEBIN $Y2/progs/prelude/cmu
  8. if (-e $PRELUDEBIN/Prelude.sparcf) then
  9.   rm $PRELUDEBIN/old*
  10.   foreach i ($PRELUDEBIN/Prelude*.{scm,sparcf})
  11.     mv $i $PRELUDEBIN/old-$i:t
  12.     end
  13.   endif
  14. $CMUCL <<EOF
  15. ;; Need a big heap to compile the prelude.
  16. (setf ext:*bytes-consed-between-gcs* 10000000)
  17. ;; If you want to recompile
  18. ;; everything from scratch, execute the "clean" script first, or
  19. ;; else use the "